<template>
  <div class="app-container">
		<el-row :gutter="10" class="mb8">
			<right-toolbar :showSearch.sync="showSearch" perm="filercv:index"></right-toolbar>
		</el-row>
		<div  class="informationTab" ref="eleTab">
			<el-table  :data="dict.type.file_type"  border height="100%">
				<el-table-column type="selection" width="55" align="center" />
				<el-table-column label="序号" align="center" type="index" width="55" />
				<el-table-column label="文件类型" prop="label" min-width="150" :show-overflow-tooltip="true" />
				<el-table-column label="操作" class-name="small-padding fixed-width" fixed="right" width="100" align="center">
					<template slot-scope="scope">
						<el-button size="mini" type="text" icon="el-icon-view" @click="handleList(scope.row)" v-hasPermi="['filercv:fileList:edit']">文件</el-button>
					</template>
				</el-table-column>
			</el-table>
		</div>
  </div>
</template>
<script src="">
export default{
  dicts: ["file_type"],
  data(){
    return {
      	// 显示搜索条件
			showSearch: true,
    }
  },
  methods:{
    handleList(row){
      console.log(row)
      this.$router.push({
				path: `/filercv/rcvlists/rcvlist/index`,
        query:{
          id:row.value
        }
			})
    }
  },
}
</script>
<style scoped>

</style>
